class Comments < ActiveRecord::Migration
  def self.up
    query = <<-_SQL
      CREATE TABLE `comments` (
        `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
        `body` TEXT NOT NULL
      ) ENGINE = MYISAM ;
    _SQL

    execute query
  end

  def self.down
    execute "DROP TABLE `comments` "
  end
end

